<%@page import="java.util.Date" %>
<%@page import="java.text.SimpleDateFormat" %>
<% Date dateJour = (Date)request.getAttribute("dateJour"); %>
<% SimpleDateFormat dateFormatMysql = new SimpleDateFormat("yyyy-MM-dd"); %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<div id="BoutonPeriode">
    <a href="<%=getServletContext().getContextPath()%>/jour?dateJour=<%=dateFormatMysql.format(dateJour)%>" >Jour</a>
    <a href="<%=getServletContext().getContextPath()%>/semaine?dateJour=<%=dateFormatMysql.format(dateJour)%>" >Semaine</a>
    <a href="<%=getServletContext().getContextPath()%>/mois?dateJour=<%=dateFormatMysql.format(dateJour)%>" >Mois</a>      
</div>
